﻿#ifndef _EASY_EPOLL_CLIENT_H_
#define _EASY_EPOLL_CLIENT_H_

#if __linux__

#include "EasyTcpClient.h"

class EasyEpollClient : public EasyTcpClient
{
public:
	virtual ~EasyEpollClient();

	// 发送数据
	// 处理网络消息
	virtual bool OnRun(int microseconds) override;
private:
	virtual void OnInitSocket() override;

	virtual void OnConnect() override;

	virtual void Close() override;

	CELLEpoll _ep;
};

#endif // #if __linux__

#endif // #ifndef _EASY_EPOLL_CLIENT_H_
